package xin.marcher.module.common.constants.diplomacy;

/**
 * 用户历史搜索词缓存常量
 */
public class HistorySearchWordConstants {

    public static final int HISTORY_WORD_COUNT_PER_USER = 10;

    public static final String KEY_PREFIX = "history_search_words:";

    public static String getKey(Long userId) {
        return KEY_PREFIX + String.valueOf(userId);
    }

}
